Pod::Spec.new do |s|
  s.name = "AliFaceAuth"
  s.version = "1.3"
  s.summary = "AliFaceAuth."
  s.homepage     = 'https://gitee.com/tangchunhui/AliFaceAuth'
  s.license  = { :type => "BSD", :file => "license.md" }
  s.authors = {"tangchunhui"=>"1203720671@qq.com"}
  s.source = { :git => 'https://gitee.com/tangchunhui/AliFaceAuth.framework.git', :tag => s.version.to_s }

  s.platform = :ios, '10.0'
  s.source_files = "Core/Headers/*", "Core/Headers/**/*"
  s.frameworks = ["CoreGraphics", "Accelerate", "SystemConfiguration", "AssetsLibrary", "CoreTelephony", "QuartzCore", "CoreFoundation", "CoreLocation", "ImageIO", "CoreMedia", "AVFoundation", "WebKit", "AudioToolbox", "CFNetwork", "AdSupport"]
  s.libraries = ["resolv", "c++.1", "c++abi", "z", "z.1.2.8"]

  s.static_framework = false

  s.pod_target_xcconfig = { 'OTHER_LINKER_FLAGS ' => '$(inherited) -ObjC', 'ENABLE_BITCODE' => 'NO' }

  s.resource_bundles = {
    'AliFaceAuth' => ['Core/Libs/APBToygerFacade.framework/APBToygerFacade.bundle', 'Core/Libs/BioAuthEngine.framework/BioAuthEngine.bundle', 'Core/Libs/OCRDetectSDKForTech.framework/OCRXMedia.bundle', 'Core/Libs/ToygerService.framework/ToygerService.bundle']
  }

  s.ios.public_header_files = "Core/Headers/*.h", "Core/Headers/**/*.h"
  s.ios.vendored_frameworks = 'Core/Libs/*.framework'
  s.vendored_libraries = 'Core/Libs/*.a'

  s.resources = "Core/Resources/*"

end